.class Lcom/example/m6wmr/ShopDishesActivity$1;
.super Landroid/os/Handler;
.source "ShopDishesActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/ShopDishesActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/ShopDishesActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/ShopDishesActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    .line 167
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    const v3, 0x7f02003e

    const/16 v4, 0xbb8

    .line 171
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 172
    iget v1, p1, Landroid/os/Message;->arg1:I

    sparse-switch v1, :sswitch_data_0

    .line 217
    :cond_0
    :goto_0
    return-void

    .line 175
    :sswitch_0
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    .line 177
    .local v0, "msg1":Landroid/os/Message;
    const/16 v1, 0x10

    iput v1, v0, Landroid/os/Message;->arg1:I

    .line 178
    sget-object v1, Lframent/FramentOrder;->h:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 179
    const-string v1, "\u6536\u85cf\u6807\u8bb0"

    iget-object v2, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->collect:Ljava/lang/String;
    invoke-static {v2}, Lcom/example/m6wmr/ShopDishesActivity;->access$1(Lcom/example/m6wmr/ShopDishesActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 180
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->shop_title:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopDishesActivity;->access$11(Lcom/example/m6wmr/ShopDishesActivity;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    iget-object v2, v2, Lcom/example/m6wmr/ShopDishesActivity;->sb:Lbean/ShopBean;

    invoke-virtual {v2}, Lbean/ShopBean;->getShopName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 181
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->collect:Ljava/lang/String;
    invoke-static {v1}, Lcom/example/m6wmr/ShopDishesActivity;->access$1(Lcom/example/m6wmr/ShopDishesActivity;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 183
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->iv_coll:Landroid/widget/ImageView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopDishesActivity;->access$12(Lcom/example/m6wmr/ShopDishesActivity;)Landroid/widget/ImageView;

    move-result-object v1

    iget-object v2, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->context:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/ShopDishesActivity;->access$5(Lcom/example/m6wmr/ShopDishesActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_0

    .line 188
    .end local v0    # "msg1":Landroid/os/Message;
    :sswitch_1
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->iv_coll:Landroid/widget/ImageView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopDishesActivity;->access$12(Lcom/example/m6wmr/ShopDishesActivity;)Landroid/widget/ImageView;

    move-result-object v1

    iget-object v2, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->context:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/ShopDishesActivity;->access$5(Lcom/example/m6wmr/ShopDishesActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 189
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    const-string v2, "\u6536\u85cf\u6210\u529f"

    invoke-static {v1, v2, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 190
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    const-string v2, "1"

    invoke-static {v1, v2}, Lcom/example/m6wmr/ShopDishesActivity;->access$13(Lcom/example/m6wmr/ShopDishesActivity;Ljava/lang/String;)V

    goto :goto_0

    .line 196
    :sswitch_2
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->iv_coll:Landroid/widget/ImageView;
    invoke-static {v1}, Lcom/example/m6wmr/ShopDishesActivity;->access$12(Lcom/example/m6wmr/ShopDishesActivity;)Landroid/widget/ImageView;

    move-result-object v1

    iget-object v2, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->context:Landroid/content/Context;
    invoke-static {v2}, Lcom/example/m6wmr/ShopDishesActivity;->access$5(Lcom/example/m6wmr/ShopDishesActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f020060

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 198
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    const-string v2, "\u5220\u9664\u6210\u529f"

    invoke-static {v1, v2, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 199
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    const-string v2, "0"

    invoke-static {v1, v2}, Lcom/example/m6wmr/ShopDishesActivity;->access$13(Lcom/example/m6wmr/ShopDishesActivity;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 203
    :sswitch_3
    const-string v1, "xxx"

    const-string v2, "shuxing"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 204
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->framentOrder:Lframent/FramentOrder;
    invoke-static {v1}, Lcom/example/m6wmr/ShopDishesActivity;->access$14(Lcom/example/m6wmr/ShopDishesActivity;)Lframent/FramentOrder;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    iget v3, p1, Landroid/os/Message;->arg2:I

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lframent/FramentOrder;->refresh(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 208
    :sswitch_4
    const-string v1, "xxx"

    const-string v2, "shuxing"

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 210
    iget-object v1, p0, Lcom/example/m6wmr/ShopDishesActivity$1;->this$0:Lcom/example/m6wmr/ShopDishesActivity;

    # getter for: Lcom/example/m6wmr/ShopDishesActivity;->framentOrder:Lframent/FramentOrder;
    invoke-static {v1}, Lcom/example/m6wmr/ShopDishesActivity;->access$14(Lcom/example/m6wmr/ShopDishesActivity;)Lframent/FramentOrder;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    iget v3, p1, Landroid/os/Message;->arg2:I

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lframent/FramentOrder;->refresh(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 172
    :sswitch_data_0
    .sparse-switch
        0x3 -> :sswitch_0
        0x8 -> :sswitch_1
        0x9 -> :sswitch_2
        0x63 -> :sswitch_3
        0x64 -> :sswitch_4
    .end sparse-switch
.end method
